package com.heng.mapbundle2;

import android.content.Context;

/**
 * @Author : zhangheng227
 * date       : 2025/5/23
 */
public class MockLocationV2 {
    private static MockLocationV2 instance = null;
    private static Context applicationContext = null;

    public static MockLocationV2 getInstance() {
        if (instance == null) {
            instance = new MockLocationV2();
        }
        return instance;
    }

    public static void init(Context context) {
        applicationContext = context.getApplicationContext();
    }

    public static Context getApplicationContext() {
        return applicationContext;
    }

    public MyLocation getLocation() {
        MyLocation location = new MyLocation(111.1, 222.2);
        Integer a = 1;
        return location;
    }
}
